package com.anolesoft.yr.mbus.cont.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

/**
 * 合同变量表
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "cont_variable")
public class ContVariable implements Serializable {
    public String getObjuid() {
        return objuid;
    }

    public void setObjuid(String objuid) {
        this.objuid = objuid;
    }

    public String getVarName() {
        return varName;
    }

    public void setVarName(String varName) {
        this.varName = varName;
    }

    public String getVarType() {
        return varType;
    }

    public void setVarType(String varType) {
        this.varType = varType;
    }

    public Byte getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(Byte orderCode) {
        this.orderCode = orderCode;
    }

    public String getVarVal() {
        return varVal;
    }

    public void setVarVal(String varVal) {
        this.varVal = varVal;
    }

    public String getcUserUid() {
        return cUserUid;
    }

    public void setcUserUid(String cUserUid) {
        this.cUserUid = cUserUid;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public String getmUserUid() {
        return mUserUid;
    }

    public void setmUserUid(String mUserUid) {
        this.mUserUid = mUserUid;
    }

    public Date getmTime() {
        return mTime;
    }

    public void setmTime(Date mTime) {
        this.mTime = mTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public static final String COL_OBJUID = "objuid";
    public static final String COL_VAR_NAME = "var_name";
    public static final String COL_VAR_TYPE = "var_type";
    public static final String COL_ORDER_CODE = "order_code";
    public static final String COL_VAR_VAL = "var_val";
    /**
     * 主键
     */
    @TableId(value = "objuid")
    private String objuid;

    /**
     * 变量名称
     */
    @TableField(value = "var_name")
    private String varName;

    /**
     * 变量类型
     */
    @TableField(value = "var_type")
    private String varType;

    /**
     * 序号
     */
    @TableField(value = "order_code")
    private Byte orderCode;

    /**
     * 变量值
     */
    @TableField(value = "var_val")
    private String varVal;

    /**
     * 创建人
     */
    @TableField(value = "c_user_uid")
    private String cUserUid;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")

    @TableField(value = "c_time")
    private Date cTime;

    /**
     * 修改人
     */
    @TableField(value = "m_user_uid")
    private String mUserUid;

    /**
     * 修改时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")

    @TableField(value = "m_time")
    private Date mTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer rows;

    private static final long serialVersionUID = 1L;
}